package com.ipfsemc.ipfsemc.mapper;

import com.ipfsemc.ipfsemc.model.Bounty;

import java.util.List;

public interface BountyMapper {
    int deleteByPrimaryKey(String bountyId);

    int insert(Bounty record);

    int insertSelective(Bounty record);

    Bounty selectByPrimaryKey(String bountyId);

    int updateByPrimaryKeySelective(Bounty record);


    int updateByPrimaryKey(Bounty record);

    List<Bounty> listBounty(Bounty bounty);

    List<Bounty> listBountyState(Bounty bounty);


}